package com.cloudcross.ssp.model;

import java.util.Date;

/**
 * 站内信 创建人：wuqiang.du 创建时间：2016.07.20
 *
 */
public class SysMail {
	private long id;
	private long sendId;// 发送人ID 系统信默认为0
	private long recId;// 接收人的信息 广告主，运营商，代理商ID
	private int type;// 接收人的类型
	private String content;// 站内信的内容
	private Date createTime;// 站内信创建时间
	private String status;// 为空则未读，否则已读

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public long getSendId() {
		return sendId;
	}

	public void setSendId(long sendId) {
		this.sendId = sendId;
	}

	public long getRecId() {
		return recId;
	}

	public void setRecId(long recId) {
		this.recId = recId;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	@Override
	public String toString() {
		return "SysMail [id=" + id + ", sendId=" + sendId + ", recId=" + recId + ", type=" + type + ", content="
				+ content + ", createTime=" + createTime + ", status=" + status + "]";
	}
}